package com.leyou.auth.service;

import com.leyou.common.auth.entity.UserInfo;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author xiuer
 * @date 2019/7/8 23:09
 */
public interface IauthService {
    void login(String username, String password,HttpServletResponse response);

    UserInfo verifyUser(HttpServletRequest request, HttpServletResponse response);


    void loginOut(HttpServletRequest request, HttpServletResponse response);

    String authorize(Long id, String secret);

}
